import requset from '@/utils/request'

// 获取图形验证码接口
export const getcode = () => {
    return requset.post('/captcha/image')
}

// 发送登录请求

export const login = (obj) => {
    const {smsCode,mobile} = obj
    return requset.post('/passport/login',{
        form:{
            isParty:false,
            partyData:{},
            mobile,
            smsCode
        }
    })
}